
package com.bei_en.teacher.management.model.system.vo;

import java.util.*;
import com.bei_en.teacher.management.model.system.bean.SystemUserRole;
import com.bei_en.teacher.management.model.BaseVo;
import javax.validation.constraints.*;

/**
 * 用于前端页面数据传递
 * 用户-角色
 * @author Longqs
 * @date 2016-6-15 15:05:57
 */
public class SystemUserRoleVo extends BaseVo {

    private SystemUserRole systemUserRole;

    public SystemUserRoleVo() {

	this.systemUserRole = new SystemUserRole();
    }

    public SystemUserRoleVo(SystemUserRole systemUserRole) {

	this.systemUserRole = systemUserRole;
    }

    public SystemUserRole getSystemUserRole() {

	return this.systemUserRole;
    }

    public void setSystemUserRole(SystemUserRole systemUserRole) {

	this.systemUserRole = systemUserRole;
    }

    public void setId(Integer value) {

	this.systemUserRole.setId(value);
    }

    public Integer getId() {

	return this.systemUserRole.getId();
    }

    public void setUserId(Integer value) {

	this.systemUserRole.setUserId(value);
    }

    @NotNull
    public Integer getUserId() {

	return this.systemUserRole.getUserId();
    }

    public void setRoleId(Integer value) {

	this.systemUserRole.setRoleId(value);
    }

    @NotNull
    public Integer getRoleId() {

	return this.systemUserRole.getRoleId();
    }

    public void setCreateTime(Date value) {

	this.systemUserRole.setCreateTime(value);
    }

    public Date getCreateTime() {

	return this.systemUserRole.getCreateTime();
    }

}